<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<script type='text/javascript' src='js/jquery-2.2.3.min.js'></script>
	<title>提交成功</title>
	<style type="text/css">
		*{
			margin:0px;
			padding: 0px;
		}
        img{
        	width: 40%;
        	margin-left: 30%;
        	margin-top: 60px;
        }
        #page{
           width: 90%;
           margin-left: 5%;
        }
        label{
        	display: block;
        	width: 80%;
        	margin-left:10%;
        	line-height: 40px;
        }
        #button_style{
        	margin-top: 60px;
        	width: 100%;
        	text-align: center;
        	border-radius: 4px;
        	color: white;
        	line-height: 40px;
        	background: rgb(0, 196, 218);;
        }
	</style>
</head>
<body>
    <div id="page">
    	 <!-- <img src="../images/success.png"> -->
    	<img src="./images/success.png">
    	<label id="msg">您的信息已经提交，24小时内审核完毕，请稍后。</label>
    	<div id="button_style">你心仪的Ta</div>
	</div>
	<script>
       var  isCando=false;
    $(function() {
        if (localStorage.getItem('number')) {

           $.ajax({
            url: "/member/getMemberinfoByNum?number=" + localStorage.getItem('number'),
            type: "get",
            dataType: "json",
            success: succesFunc,
            error: errorFunc
        });

        function succesFunc(res) {
            if (res.code == 200) {
                if (res.data[0].yn) {
                  isCando=true;
                   $("#msg").text("您已经是我们的会员了，去享受更多服务服务吧")
                } else {

                    // $("#float_view").show();
                    // $("#msg").text("还未通过审核");
                }

            }
        }

        function errorFunc(res) {

        }

        }else{
         $("#msg").text("成为我们的会员，享受更多服务")   
         // $("#float_view").show();
         // $("#msg").text("还不是会员");

        }

    })
  
	$("#button_style").click(function(){

		window.location.href="./l_list.html";
	})
	
	</script>
</body>
</html>